﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MapEditorMario
{
    class ObjectMap
    {
        public int x, y;
        public int width, height;
        public string id;
        public int status;
        public int type1, type2, type3;
        public PictureBox picture;

        //add
        public int direction;

        public ObjectMap(PictureBox pic){
            this.x = pic.Location.X;
            this.y = pic.Location.Y;
            this.width = pic.Width;
            this.height = pic.Height;
            this.id = pic.Name;
            this.status = 1;
            this.type1 = 0;
            this.type2 = 0;
            this.type3 = 0;
            this.picture = pic;

            //add
            this.direction = 0;
        }


    }
}
